package com.yunxi.dao.activiti;

import com.yunxi.activiti.pojo.ActivitiManageVO;
import com.yunxi.activiti.pojo.ActivitiTaskVO;
import com.yunxi.activiti.pojo.ActivitiVO;
import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.activiti.ActivitiManage;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2019-07-15
 */
public interface ActivitiManageMapper extends BaseMapperPlus<ActivitiManage> {
   ActivitiManageVO findNewsDeploymentId(Map map);

   ActivitiManageVO getByActivitiCode(String activitiCode);

   List waitList(Map map);

    List listRecordByBusinessKey(String businessKey);

    ActivitiTaskVO getCurTaskIdByBusinessKey(String businessKey);

    ActivitiVO getInstanceIdByBusinessKey(String businessKey);

    List<ActivitiTaskVO> listInstanceNodeByInstanceId(String instanceId);

    List<ActivitiTaskVO> listInstanceNodeByBusinessKey(String businessKey);

    ActivitiTaskVO getTaskByTaskId(String taskId);

    ActivitiTaskVO getHisTaskByTaskId(String taskId);

}
